package com.eco.fishway.schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Author : xulinyu
 * @Date: 2024/7/18 10:34
 * @Description:
 */
@Component
public class ScheduleTask {

//    @Scheduled(cron = "0 0/1 * * * ?")
    public void executeTask() {
        // 这里写你要执行的任务逻辑
        System.out.println("定时任务执行: " + System.currentTimeMillis());
    }
}
